package com.stadium.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * 人脸识别
 *
 * @author zq
 * @email 513973172@qq.com
 * @date 2020-07-15 09:45:21
 */
@Data
@ApiModel(value = "人脸识别")
public class SysUserVeriface implements Serializable {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "主键")
    private String id;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "sys_user表user_id")
    private String userId;

    @Length(min = 0, max = 255)
    @ApiModelProperty(value = "文件MD5")
    private String fileMd5;

    @Length(min = 0, max = 65535)
    @ApiModelProperty(value = "人脸特征内容")
    private String content;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "状态")
    private String statusCode;

    @Length(min = 0, max = 255)
    @ApiModelProperty(value = "备注")
    private String remarks;

    @Length(min = 0, max = 1)
    @ApiModelProperty(value = "删除标识（0：正常；1：已删除）")
    private String deleteCode;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
